package eu.testing.system.dao;

import java.sql.SQLException;
import java.util.List;

import eu.testing.system.models.Test;

public interface TestDao {
	public void dropTestTable();

	public void createTestTable();

	public void insert(Test test) throws SQLException;

	public Test getTest(int id) throws SQLException;

	public List<Test> getAllTests() throws SQLException;

	public List<Test> getSpecificTests(String username) throws SQLException;

	public void editTest(Test test);

	public void deleteTest(int id) throws SQLException;

}
